from permute import p
a = p.p1('djy')
b = p.p2('djy')
print(a)
print(list(b))
for x in p.p2('spam'):
    print(x,end=' ')
